package com.huayin.service;

import com.huayin.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by huayinmac-002 on 17/1/13.
 */
public interface IndexService extends JpaRepository<User,Integer> {

    User findByNameAndPassword(String name,String password);
}
